﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo03
{
    class Dog:Animal,ISwim
    {
        public void swim()
        {
            Console.WriteLine("狗在游泳");
        }
        public override void eat()
        {
            Console.WriteLine("狗在吃饭");
        }

    }
}
